#ifndef _LOCALDATA_H_
#define _LOCALDATA_H_

class ObjData : public node
{
public:
	ObjData();
	void* operator new(size_t);
	void operator delete(void*);
	node* Clone();
	void Save(File&);
	void Load(File&);

	float id;
	float posX;
	float posY;
	float nextPosX;
	float nextPosY;
	float dirX;
	float dirY;
	int state;
	int prevState;
	float speed;
	DYNCREATED
};
extern ObjData* GetObjData(node* This);

class DeltaData : public node
{
public:
	DeltaData();
	void* operator new(size_t);
	void operator delete(void*);
	node* Clone();
	void Save(File&);
	void Load(File&);

	float prevTime;
	DYNCREATED
};
extern DeltaData* GetDeltaData(node* This);

#endif // _LOCALDATA_H
